<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<?php $this->load->view('backend/include/html_head')?>
	</head>
	
	<body id="login">
		<div id="login-wrapper" class="png_bg">
			<div id="login-top">
				<h1>Simpla Admin</h1>
				<!-- Logo (221px width) -->
				<img id="logo" src="<?php echo ADMIN_IMG ?>logo.png" alt="Simpla Admin logo" />
			</div> <!-- End #logn-top -->
			
			<div id="login-content">
				<form action="#" method="post">
					<?php if (form_error('name', '<div>', '</div>')):?>
			        <div class="notification attention png_bg">
			          <?php echo form_error('name', '<div>', '</div>'); ?>
			        </div>
			        <?php elseif (form_error('password', '<div>', '</div>')):?>
			        <div class="notification attention png_bg">
			          <?php echo form_error('password', '<div>', '</div>'); ?>
			        </div>
			        <?php elseif (form_error('login_error', '<div>', '</div>')):?>
			        <div class="notification error png_bg">
			          <?php echo form_error('login_error', '<div>', '</div>'); ?>
			        </div>
			        <?php endif;?>
					<p>
						<label>用户名</label>
						<input class="text-input" type="text" name="name" value="<?php echo set_value('name');?>" />
					</p>
					<div class="clear"></div>
					<p>
						<label>密码</label>
						<input class="text-input" type="password" name="password" value="" />
					</p>
					<div class="clear"></div>
					<!-- <p id="remember-password">
						<input type="checkbox" />记住我的登录状态
					</p>
					<div class="clear"></div> -->
					<p>
						<input class="button" type="submit" value="登录" />
					</p>
				</form>
			</div> <!-- End #login-content -->
			
		</div> <!-- End #login-wrapper -->
	</body>
</html>